package com.kkshop.service.gwt;

import com.kkshop.gwt.service.UserUtilsService;
import com.kkshop.integration.spring.gwt.GwtRpcEndPoint;
import com.kkshop.web.utility.UserUtils;

@GwtRpcEndPoint
public class UserUtilsServiceImpl implements UserUtilsService {
    
    private UserUtils userUtils;
    
    public boolean userExists(String username) {
        return userUtils.userExists(username);
    }

    public String getCurrentUser() {
        return userUtils.getCurrentUser();
    }

    public UserUtils getUserUtils() {
        return userUtils;
    }

    public void setUserUtils(UserUtils userUtils) {
        this.userUtils = userUtils;
    }
}
